package com.vehicle.service;

import com.vehicle.domains.entity.SysPermissionEntity;
import com.vehicle.domains.bo.QueryPermissionBo;

import java.util.List;

public interface SysPermissionService {
    void addPermission(SysPermissionEntity sysPermissionEntity);

    void updatePermission(SysPermissionEntity sysPermissionEntity);

    void deletePermission(Long id);

    List<SysPermissionEntity> selectPermissionList(QueryPermissionBo permissionBo);

    SysPermissionEntity selectByPermissionId(Long id);
}
